<script setup lang="ts">
import { RouterView } from 'vue-router'
import { onMounted } from 'vue'

import { isWeChatBrowser } from '@/utils/platform';
import { wxInit } from './utils/wx';


onMounted(()=>{
  if(isWeChatBrowser()){
    wxInit()
  }
})
</script>

<template>
  <main class="app-main">
    <RouterView />
  </main>
</template>

<style scoped>


</style>
